package com.demo.test.command;

import com.demo.test.command.iml.Command;


public class Client {
    public static  void main(String[] agr){
       Command commandA = new ConcreteCommandA();
       Command commandB = new ConcreteCommandB();

       Invoker invoker =  new Invoker(commandA);


       invoker.setCommand(commandB);

       invoker.call();
    }
}
